

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

INCLUDE_DIRECTORIES(${PARENT_PACKAGE_SOURCE_DIR}/disc-fe/test/equation_set)
INCLUDE_DIRECTORIES(${PARENT_PACKAGE_SOURCE_DIR}/disc-fe/test/closure_model)
INCLUDE_DIRECTORIES(${PACKAGE_SOURCE_DIR}/test/bcstrategy)

SET(UNIT_TEST_DRIVER
  ${PANZER_UNIT_TEST_MAIN})

IF (PANZER_HAVE_EPETRA)
  TRIBITS_ADD_EXECUTABLE_AND_TEST(
    gs_evaluators
    SOURCES gs_evaluators.cpp ${UNIT_TEST_DRIVER}
    COMM serial mpi
    NUM_MPI_PROCS 1
  )
ENDIF(PANZER_HAVE_EPETRA)

TRIBITS_ADD_EXECUTABLE_AND_TEST(
  scatter_field_evaluator
  SOURCES scatter_field_evaluator.cpp ${UNIT_TEST_DRIVER}
  COMM serial mpi
  NUM_MPI_PROCS 1
  )
